"""AutoTestPlant_AfterEnd URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from auth_app import views
from auth_app.view import user_auth
from auth_app.view import environment


from django.conf.urls import url, include

urlpatterns = [
    path('jwt/login/', views.LoginView.as_view()),
    path('jwt/order/', views.OrderView.as_view()),
    path('menus/', views.Menus.as_view()),
    path('user_list/', views.UserList.as_view()),
    path('user/', views.User.as_view()),
    path('auth_list/', user_auth.Auth.as_view()),
    path('enviroment_list/', environment.Environment.as_view()),

    # path('jwt/login/', views.JwtLoginView.as_view()),
    # path('jwt/order/', views.JwtOrderView.as_view()),
    # path('jwt/login/', views.JWTLoginView.as_view()),
    # path('jwt/order/', views.JWTOrderView.as_view()),

]
